package com.ap.generator.rtp;

import com.ap.core.cxf.jaxb.rtp.AbstractTxIdentificationTypeGeneratorBuilder;
import com.ap.datagen.lang.StringRandomGeneratorBuilder;

import static com.ap.datagen.core.Nullable.nullable;
import static com.ap.datagen.date.JodaLocalDateTimeGeneratorBuilder.jodaLocalDateTimeGeneratorBuilder;

/**
 * 
 * @author Siva.Pochana
 *
 */
public class TxIdentificationTypeGeneratorBuilder extends
		AbstractTxIdentificationTypeGeneratorBuilder {

	@Override
	public void setupDefaults() {
		this.txDtTimeGenerator = nullable(jodaLocalDateTimeGeneratorBuilder().build());
		this.RTPIdGenerator = nullable(StringRandomGeneratorBuilder.stringRandomGeneratorBuilder().alphabeticUppper().length(35).build());
	}

	
	public static TxIdentificationTypeGeneratorBuilder getTxIdentificationTypeGenerator() {
		return new TxIdentificationTypeGeneratorBuilder();
	}
}
